<template>
  <div class="backgroundCat">
    <h1 class="Welcome" style="padding-top:200px;">W e l c o m e</h1>
    <h1 class="Welcome" >{{enterprise}}后台管理系统</h1>
  </div>
</template>

<script>
  const axios = require('axios');
  export default {
    name: "Welcome",
    data() {
      return {
        enterprise: ''
      }
    },
    created() {
        axios.post('/getEnterPriseName', {'enterprise_id': window.localStorage.getItem("enterprise_id")}).then(res => {
          this.enterprise = res.data.enterprise_name;
        })
      }
    }
</script>

<style scoped>
  div {
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: auto;
  }
  .Welcome {
    font-size:100px;
    color: #e0e0e0;
    text-shadow:  21px 21px 42px #111213,
    -21px -21px 42px #43484b;
    user-select:none;
  }
  .backgroundCat {
    background-image: url("../../assets/img/WelcomeCat.png");
    background-repeat: no-repeat;
    background-position: bottom;
  }
</style>
